<#-- 引入布局指令的命名空间 -->

<#import "../../layout/grid-layout.ftl" as defaultLayout>

<#assign breadcrumb>
	<ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <a href="#">后台管理</a>
        </li>
        <li class="active">数据稽核</li>
    </ul>
</#assign>


<#assign css_own>
<link rel="stylesheet" href="/resource/css/bootstrap-datepicker3.min.css">
<style>
    .width-w-90 {
        width: 90px;
    }

    .modal textarea {
        height: 200px;
    }

    #my-add-modal .btn-solr-search {
        margin-top: -200px;
        margin-left: 18px;
    }

    .modal .modal-content {
        width: 750px;
    }
</style>

</#assign>
<#assign script_own>
<#--<script type="text/html" id="edit-template">-->
<#--<#include  "template/edit.ftl" >-->
<#--</script>-->
<#--<script src="/resource/script/lib/moment.min.js"></script>-->
<script src="/resource/script/lib/bootstrap-datepicker.min.js"></script>
<script src="/resource/script/lib/bootstrap-datepicker.zh.js"></script>
<script src="/resource/script/web/data/audit/d.a.index.js"></script>
</#assign>
<@defaultLayout.layout script=script_own css=css_own breadcrumb=breadcrumb>
<div class="row">
    <div class="col-xs-12">
        <div class="row">
            <div class="col-sm-12">
                <div id="sample-table-2_length">
                    <form class="form-horizontal" id="form-search">
                        <table class="table_gray" border="0" style="min-height:60px">
                            <tr>
                                <td class="width-w-80">所属平台:</td>
                                <td class="width-20">
                                    <select class="form-control col-sm-5" name="platformid">
                                    </select>
                                </td>
                                <td class="width-w-80"> 提交日期:</td>
                                <td>
                                    <div class="input-daterange">
                                        <input type="text" name="dateStartStr"/>
                                        <span>-</span>
                                        <input type="text" name="dateEndStr"/>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="width-w-80">稽核方式:</td>
                                <td class="width-20">
                                    <select class="form-control col-sm-5" name="audittype">
                                    </select>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
        <div class="row" style="margin-top: 10px;">
            <div class="col-sm-9">
                <input id="btn-search" type="button" class="btn  btn-sm btn-purple" value="查询"/>
                <input id="btn-add" type="button" class="btn  btn-sm btn-primary" value="添加"/>
                <input id="btn-del" type="button" class="btn  btn-sm btn-danger" value="删除"/>
            </div>
            <div class="col-sm-3">

            </div>
        </div>

        <!--grid begin data-type="datetime" -->
        <div class="table-responsive">
            <table id="grid" class="table table-striped table-hover table-bordered  dataTable no-footer">
                <thead>
                <tr>
                    <th data-column-id="id" data-identifier="true" data-visible="false">序号</th>
                    <th data-column-id="platform" data-width="120">所属平台</th>
                    <th data-column-id="createdate" data-width="120">提交日期</th>
                    <th data-column-id="audittypeStr" data-width="120">稽核方式</th>
                    <th data-column-id="province" data-width="150" data-formatter="commands">管理</th>
                </tr>
                </thead>
            </table>
        </div>
        <!--gird end-->
    </div>
</div>
<!-- 模态框（Modal） -->
<div class="modal fade" id="my-add-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">添加检索式</h4>
            </div>
            <div class="modal-body">
            <#--<#include  "template/obligee.list.ftl" >-->
                <div class="row">
                    <div class="col-xs-12">
                        <form id="form-add" class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label "> 监控系统: </label>
                                <div class="col-sm-5">
                                    <select class="form-control col-sm-5" name="platformid">

                                    </select>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label "> 检索式: </label>
                                <div class="col-sm-9">
                                    <textarea class="form-control" name="searchstrategy"></textarea>
                                    <button type="button" class="btn btn-primary btn-solr-search">检索</button>
                                </div>

                            </div>
                            <div class="form-group hidden">
                                <label class="col-sm-3 control-label no-padding-right"></label>
                                <div class="col-sm-9">
                                    <span>检索命中 129 条数据。</span><a href="#">（点击数值查看检索结果）</a>
                                </div>
                            </div>
                            <input type="hidden" name="audittype">
                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer" style="text-align: center">
                <button type="button" class="btn btn-primary" id="my-modal-btn-del">移除</button>
                <button type="button" class="btn btn-primary" id="my-modal-btn-add">添加</button>
                <button type="button" class="btn btn-primary" data-dismiss="modal">清空</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div>
<!-- /.modal -->


<div class="modal fade" id="my-edit-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">数据稽核-管理</h4>
            </div>
            <div class="modal-body">
            <#--<#include  "template/obligee.list.ftl" >-->
                <div class="row">
                    <div class="col-xs-12">
                        <form id="form-edit" class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label "> 调整前区域: </label>
                                <div class="col-sm-5">
                                    <label class="control-label " id="edit-platform-name"></label>
                                </div>
                            </div>
                            <div class="space-4"></div>
                            <#--<div class="form-group">-->
                                <#--<label class="col-sm-2 control-label "> 检索类型: </label>-->
                                <#--<div class="col-sm-9">-->
                                    <#--<select class="form-control" name="">-->
                                        <#--<option>区域</option>-->
                                        <#--<option>权利人</option>-->
                                        <#--<option>申请号</option>-->
                                    <#--</select>-->
                                <#--</div>-->
                                <#--<div>多个已逗号分隔</div>-->
                            <#--</div>-->
                            <div class="form-group">
                                <label class="col-sm-2 control-label "> 检索式: </label>
                                <div class="col-sm-9">
                                    <textarea class="form-control" name="searchstrategy"></textarea>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label "> 数据稽核模式: </label>
                                <div class="col-sm-5">
                                    <select class="form-control col-sm-5" name="audittype">
                                    </select>
                                </div>
                            </div>
                            <input type="hidden" name="id">
                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer" style="text-align: center">
                <button type="button" class="btn btn-primary" id="my-edit-modal-btn-save">保存</button>
                <button type="button" class="btn btn-primary" data-dismiss="modal">取消</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div>
</@defaultLayout.layout>



